package hotel.service;

import java.util.List;

import hotel.entity.Authority;

public interface IAuthorityService<T> extends IService<T> {

	/**
	 * 查询某个角色没有的权限
	 * @return
	 */
	public List<Authority> findNoAuthority(int roleId);
	
	/**
	 * 获得所有权限
	 */
	public List<T> findAllAuthority();
}
